package com.snail.manager.user.service;



import com.snail.manager.user.entity.Result;
import com.snail.manager.user.entity.User;

import javax.mail.MessagingException;

public interface RegisterService {
    Result<User> check(String param, Integer type);

    Result<User> register(User user) throws MessagingException;

}
